from business.base_api import BaseApi
from common.urls import url_login


class Account(BaseApi):
    pass

    # 手机号、密码登录
    def phone_pwd_login(self, phone, pwd):
        uploads = {
            "account": phone,
            "password": pwd,
            "client": 5
        }
        headers = {
            "content-type": "application/json"
        }

        return self.send_request("post", url=url_login, json=uploads, headers=headers)

# Account().send_request()
